#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include<stdlib.h>

typedef struct lnode {
    int data;
    struct lnode* next;
} lnode, * link;

int main() {
    int n = 0;
    link arrA = (link)malloc(sizeof(lnode));
    link arrB = (link)malloc(sizeof(lnode));
    arrA->next = NULL;
    arrB->next = NULL;
    link pA = arrA;
    link pB = arrB;
    scanf("%d", &n);

    for (int i = 0; i < n; i++) {
        link lA = (link)malloc(sizeof(lnode));
        lA->next = NULL;
        scanf("%d", &(lA->data));
        pA->next = lA;
        pA = pA->next;
    }
    for (int i = 0; i < n; i++) {
        link lB = (link)malloc(sizeof(lnode));
        lB->next = NULL;
        scanf("%d", &(lB->data));
        pB->next = lB;
        pB = pB->next;
    }
    pA = arrA->next;
    pB = arrB->next;
    while ((pA != NULL) && (pB != NULL)) {
        pB->data += pA->data;
        printf("%d ", pB->data);
        pA = pA->next;
        pB = pB->next;
    }
    return 0;
}